package xiegd.study.proxy.extend;

import xiegd.study.proxy.annotation.ClassLog;
import xiegd.study.proxy.annotation.MethodLog;

/**
 * @Author: xieguangda
 * @Description:
 * @Date: 2023/9/20 16:03
 */

@ClassLog(value = true)
public class Child extends Parent {
//    private Grandchild grandchild;
//
//    public Child(Parent parent) {
//        super();
//        this.grandchild = new Grandchild(this);
//    }
//
//    public void setGrandchild(Grandchild grandchild) {
//        this.grandchild = grandchild;
//    }

    @Override
    @MethodLog
    public void request() {
        System.out.println("Child request");
    }
}
